import { apiInitializer } from "discourse/lib/api";

export default apiInitializer("1.14.0", (api) => {
  // api.decorateWidget("home-logo:after", HeaderWebSiteLogo);
  api.decorateWidget('home-logo:before', helper => {
    return helper.h('div.title', [
      helper.h('a', { href: 'https://www.openkylin.top', target: '_blank' }, [
        helper.h('img.logo-big.site-logo-openKylin', { id: 'site-logo',  src: 'https://www.openkylin.top/upload/202209/1664440595.png', alt: 'openKylin官网' }),
      ]),
    ]);
  });
});
